To test that this script works, you will build an HTML export page that USES the getResults function to read the file, then outputs the data as a series of HTML tables.
为了测试这个脚本的作用,将构建一个HTML导出页面,使用getresults函数读取文件,然后以一系列html表的形式输出数据。
In the of the HTML page, we then call the print_sequence function twice, using different arguments to test the function. Calling print.php.
在html页面的中,我们接着使用不同参数两次调用print_sequence函数,以测试该函数。
As you might expect the test runner loads the test page, and calls each test function.
正如你期望的那样,test runner加载测试页面,调用每个测试函数。
应用推荐